<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%String ctx = request.getContextPath();%>

<div id="nav" class="f_l" style="width:720px">
  <ul style="list-style:none; margin:0; padding:0;">
    <% if(String.valueOf(request.getSession().getAttribute("MEDICAL_USER_TYPE")).equals("0")){  %>
      <li class="mainlevel" id="mainlevel_01"><a href="<%=ctx%>/user/user!list"><span class="padding3">用户列表</span></a>
	  </li>
	  <li class="mainlevel" id="mainlevel_02"><a href="<%=ctx%>/company/company!list"><span class="padding3">公司列表</span></a>
	  </li>
	  <li class="mainlevel" id="mainlevel_03"><a href="<%=ctx%>/company/company!showMyCompany"><span class="padding3">我的公司</span></a>
	  </li>
	  <li class="mainlevel" id="mainlevel_04"><a href="<%=ctx%>/user/user!listMyEmployees"><span class="padding3">我的员工</span></a>
	  </li>
    <% } %>
    <% if(String.valueOf(request.getSession().getAttribute("MEDICAL_USER_TYPE")).equals("4")){  %>
      <li class="mainlevel" id="mainlevel_01"><a href="<%=ctx%>/company/company!showMyCompany"><span class="padding3">我的公司</span></a>
	  </li>
	  <li class="mainlevel" id="mainlevel_02"><a href="<%=ctx%>/user/user!listMyEmployees"><span class="padding3">我的员工</span></a>
	  </li>
    <% } %>
    
    
    <li class="mainlevel" id="mainlevel_01"><a href="<%=ctx%>/user/user!showMyInfo"><span class="padding3">我的资料</span></a>
    </li>
    <li class="mainlevel" id="mainlevel_02"><a href="<%=ctx%>/task/task!list"><span class="padding3">我的任务</span></a>
    </li>
  </ul>
</div>